package com.hean.entity;

public class Cell {
	public final static int SIZE = 10;
	public int x;
	public int y;

	public Cell(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public Cell(Cell cell) {
		this.x = cell.x;
		this.y = cell.y;
	}

	@Override
	public boolean equals(Object o) {
		if (o instanceof Cell) {
			Cell cell = (Cell) o;
			return x == cell.x && y == cell.y;
		} else {
			return false;
		}
	}
}
